<template>
  <div>
    <div class="form-container">
    </div>
    <div class="operation">
      <el-button type="primary" @click="valid">提交</el-button>
    </div>
  </div>
</template>
<script lang="ts">
  import { Vue, Component, Prop } from 'vue-property-decorator'
  // import vUnitAuth from '@/components/unit-auth'
  import { Action } from 'vuex-class'

  @Component({
    components: {
      // vUnitAuth
    }
  })
  export default class Step1 extends Vue {
    @Action getPolicy
    @Prop() userInfo

    mounted () {
      this.getPolicy()
    }

    async post (form) {
      form.channelProviderId = form.id
      // let res: AjaxResponse = await this.$axios.put('g/gateway/channelprovider/perfectinformation', form)
      // this.$utils.tips(res)
      // this.$emit('refresh')
    }

    valid () {
      this.$refs['channel-auth'].valid()
    }
  }
</script>
<style lang="less" scoped>
  .form-container {
    width: 1180px;
    margin: 0 auto;
    padding: 60px 0 30px;
  }

  .operation {
    text-align: center;
    font-size: 14px;
    color: #999;
    .el-button {
      margin: 30px 0;
    }
  }

  .el-steps {
    margin-bottom: 60px;
  }
</style>
